package com.web.portal.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;

/**
 * 关系
 */
@Data
@ApiModel(description = "Relation")
@TableName("relation")
public class Relation {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("relation_code")
    private String relationCode;
    @TableField("relation_type")
    private String relationType;
    @TableField("user_code")
    private String userCode;
    @TableField("relation_user")
    private String relationUser;
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
}
